<?php
class Demo{
	public function run()
	{
		echo 'run...';
		$this->test();
	}

	public function test()
	{
		echo 'test';
	}
}

class Test extends Demo
{
	public function a()
	{
		$this->test();
	}
}
$obj = new Test;
$obj->a();
